package com.example.hm_dtfkz.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * FileName: AnswerEntity
 * Author: admin
 * Date: 2021/11/4 16:31
 * Description:
 */
public class QALuckyConfigResp {
    private int errorCode;
    private String errorMessa;
    private List<QAPrize> pl;
    private int pt=10000000;

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public void setErrorMessa(String errorMessa) {
        this.errorMessa = errorMessa;
    }

    public void setPl(List<QAPrize> pl) {
        this.pl = pl;
    }

    public void setPt(int pt) {
        this.pt = pt;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public String getErrorMessa() {
        return errorMessa;
    }

    public List<QAPrize> getPl() {
        pl=new ArrayList<>();
        QAPrize qaPrize1=new QAPrize();
        pl.add(qaPrize1);
        QAPrize qaPrize2=new QAPrize();
        pl.add(qaPrize2);
        QAPrize qaPrize3=new QAPrize();
        pl.add(qaPrize3);
        QAPrize qaPrize4=new QAPrize();
        pl.add(qaPrize4);
        return pl;
    }

    public int getPt() {
        return 100;
    }
}